 /*
  * Copyright (c) 2021, 2023, yishun.cn All rights reserved.
  *
  */
 package cn.shun.dao;

 import cn.shun.annotation.PageX;
 import cn.shun.model.Category;
 import cn.shun.model.CategoryQuery;
 import org.apache.ibatis.annotations.Mapper;

 import java.util.List;

 /**
  * <p>Project: sboot_2023-cn.shun.dao-CategoryDao
  * <p>Powered by yishun On 2023-04-18 16:56:30
  *
  * @author yishun [2465734101@qq.com]
  * @version 1.0
  * @since 17
  */
 @Mapper
 public interface CategoryDao {
     @PageX
     List<Category> select(CategoryQuery query);

     int update(Category entity);

     int delete(Integer id);

     int insert(Category entity);
 }
